package com.juku2024.juku.analysis.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class FLVCDModel implements Serializable {

    @SerializedName("source")
    public String source;
    @SerializedName("url")
    public String url;
    @SerializedName("title")
    public String title;
    @SerializedName("format")
    public String format;
    @SerializedName("formatList")
    public String formatList;
    @SerializedName("formatCodeList")
    public String formatCodeList;
    @SerializedName("HEADER_C")
    public HeaderCDTO headerC;
    @SerializedName("total_duration")
    public String totalDuration;
    @SerializedName("thumb")
    public String thumb;
    @SerializedName("ts")
    public String ts;
    @SerializedName("te")
    public String te;
    @SerializedName("ts2")
    public String ts2;
    @SerializedName("te2")
    public String te2;
    @SerializedName("cpre_ts")
    public String cpreTs;
    @SerializedName("cpre_te")
    public String cpreTe;
    @SerializedName("cpre_from")
    public String cpreFrom;
    @SerializedName("cpre_to")
    public String cpreTo;
    @SerializedName("CPRE")
    public String cpre;
    @SerializedName("c_from")
    public String cFrom;
    @SerializedName("TYPE")
    public String type;
    @SerializedName("C")
    public String c;
    @SerializedName("C2")
    public String c2;
    @SerializedName("V")
    public List<vdto> v;

    @SerializedName("error")
    public String error;
    @SerializedName("code")
    public String code;
    @SerializedName("description")
    public String description;


    public static class HeaderCDTO {
//        @SerializedName("User-Agent")
//        public String userAgent;
//        @SerializedName("Referer")
//        public String referer;
    }

    public static class vdto {
        @SerializedName("C")
        public String c;
        @SerializedName("post_key")
        public String postKey;
        @SerializedName("U")
        public String u;
        @SerializedName("duration")
        public String duration;
    }
}
